/*******************************************************************************
 * Copyright (c) 2014 Francesco Gabbrielli
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Francesco Gabbrielli - initial API and implementation
 ******************************************************************************/
package it.francescogabbrielli.android.solidalapp;

/**
 * Main constants
 */
public class Constants {
	
// ::::::::::::::::::::::::::::::: SHARED KEYS ::::::::::::::::::::::::::::::::
	
	/** Permanent storage for current registration id */
	public final static String REGISTRATION_ID = "registrationId";
	/** Permanent storage for current profile id */ 
	public final static String PROFILE_ACCOUNT = "profileId";
	/** Notifications counter */
	public final static String NOTIFICATION = "notification";
	/** Last notification received */
	public final static String LAST_NOTIFICATION = "lastNotification";
	/** Intent counter */
	public final static String INTENT = "intent";

	/** Feedback value */
	public final static String FEEDBACK = "feedback";
	/** Remote error */
	public final static String ERROR = "error";
	/** Flag for resetting the current request */
	public final static String RESET_REQUEST = "reset";
	
	
	public final static String FORCE_LOADER = "forceLoader";

	
	
// :::::::::::::::::::::::::::::::: LOADER IDS ::::::::::::::::::::::::::::::::
	
	public final static int LOADER_REQUEST_LIST 		= 0;
	public final static int LOADER_REQUEST 				= 1;
	public final static int LOADER_RESPONSE 			= 2;
	public final static int LOADER_FILE_RESPONSE		= 3;
	public final static int LOADER_FILE_RESPONSE_PROFILE= 4;
	public final static int LOADER_FILE_REQUEST			= 5;
	public final static int LOADER_FILE_REQUEST_PROFILE	= 6;
	
	
// :::::::::::::::::::::::::::::::: PREFERENCES :::::::::::::::::::::::::::::::
	public final static String PREF_SHOW_PHONE		= "pref_show_phone";
	public final static String PREF_NOTIFY 			= "pref_notify";
// :::::::::::::::::::::::::::::::::: OTHER :::::::::::::::::::::::::::::::::::
	
	/** Google play check constant */
	public static final int PLAY_SERVICES_RESOLUTION_REQUEST = 9000;
	

}
